import { LevelContext } from "./LevelContext";

export default function Section({ level, children }: { level: number, children: React.ReactNode }) {
    return (
        <section className='section'>
            <LevelContext.Provider value={level + 1}>
                {children}
            </LevelContext.Provider>
        </section>
    )
}